/*
 * Main.java
 *
 * Created on 9 de mayo de 2005, 21:29
 */

package akaram.khundara;


import java.util.Vector;

import akaram.khundara.rebk.razas.Raza;
import akaram.util.Tirada;

/**
 *
 * @author Mel Hython
 */
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
     
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
           
        try{
            Tirada tirada = new Tirada("2d6+2");
             
            System.out.println( "2d6+2 = " + tirada.tirar()); 
            
            Raza.iniciaRazas();
            
            Vector<Raza> razas = Raza.getAllRazas();
            for( Raza raza: razas )
            {
            	System.out.println(raza);
            }
            
            System.out.println(Raza.getPersona("emyel", Raza.VARON));
        }
        catch( Exception ex)
        {
            ex.printStackTrace();
        }
    }
    
}
